<% form_for [:admin, @dictionary], :html => { :id => "form" } do |f| -%>
  <%= f.error_messages -%>
  
  <%= hidden_field_tag :flag, params[:flag] -%>
  <div class="box">
    <table class="table border">
      <tr class="th">
        <td width="80" align="right"><strong>词库</strong></td>
        <td class="dictionaries">
          <%= text_field_tag 'words[]' -%>
          <div id="add_more"><input type="button" value="添加其它词库" id="add_dictionary" /></div>
        </td>
      </tr>
    </table>
  </div>
<% end -%>

<%= javascript_include_tag 'admin/base' -%>
